package com.ruoyi.logistic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
public class NetworkHqPrePayment implements Serializable {
    private static final long serialVersionUID = -175749413068699996L;

    /** 主键 */
    private Integer id;

    /** 网点名称id */
    @Excel(name = "网点名称id")
    private String networkNameId;

    /** 业务日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessTime;

    /** 记账日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记账日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chargeTime;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessId;

    /** 业务摘要 */
    @Excel(name = "业务摘要")
    private String businessSummary;

    /** 费用名称 */
    @Excel(name = "费用名称")
    private String feeName;

    /** 科目类型 */
    @Excel(name = "科目类型")
    private String subjectType;

    /** 发生(收入) */
    @Excel(name = "发生(收入)")
    private BigDecimal income;

    /** 发生额(支出) */
    @Excel(name = "发生额(支出)")
    private BigDecimal expend;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String connectionWay;

    /** 账单类型 */
    @Excel(name = "账单类型")
    private String billType;

    /** 关联账号 */
    @Excel(name = "关联账号")
    private String associatedAccount;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;

//    private NetworkName networkName;
//
//    private NetworkBusiness networkBusiness;
}
